<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"  %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/page" prefix="pages"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<s:set var="text" value="%{#attr.text}" />
<s:if test="%{#attr.text == null}">
	<s:set var="text" value="rtl" />
</s:if>

<s:set var="alignleft" value="%{#attr.alignleft}" />
<s:if test="%{#attr.alignleft == null}">
	<s:set var="alignleft" value="left" />
</s:if>

<s:set var="alignright" value="%{#attr.alignright}" />
<s:if test="%{#attr.alignright == null}">
	<s:set var="alignright" value="right" />
</s:if>

<html xmlns="http://www.w3.org/1999/xhtml" dir="${text}">

	<head>
		<title>PrintPackPaper <decorator:title /></title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="Content-Language" content="en,fr,ar" />
		<meta name="description" content="<s:property value="#attr.configuration.defaultMetaDescription" />" />
		<meta name="keywords" content="<s:property value="#attr.configuration.defaultMetaKeywords" />" />
		<link rel="stylesheet" type="text/css" href="../css/quickmenu_styles.css" />
		<link rel="shortcut icon" href="images/images.jpg" />
		<script type="text/javascript" src="../js/quickmenu.js"></script>
		<decorator:head />

	</head>

    <body dir="${text}">
    <s:set var="languageforcss" value="%{#attr.languageforcss" />
    <s:if test="%{#attr.languageforcss !=null }">
    	<link rel="stylesheet" type="text/css" href="../css/${languageforcss.chromeCss}" />
    </s:if>
    <s:else>
    	<link rel="stylesheet" type="text/css" href="../css/chromestyle.css" />
    </s:else>
    <s:if test="%{#attr.text !=null && (#attr.text=='rtl' || #attr.text=='RTL')}">
    	<link href="../css/styler.css" rel="stylesheet" type="text/css" />
    </s:if>
    <s:if test="%{#attr.text !=null && (#attr.text=='ltr' || #attr.text=='LTR')}">
    	<link href="../css/style.css" rel="stylesheet" type="text/css" />
    </s:if>

		<s:set name="left" var="left" value="1" />
		<s:set name="right" var="right" value="1" />

		<s:if test="%{leftAllowed != null && leftAllowed == false}">
			<s:set var="left" value="0" />
		</s:if>
		<s:if test="%{rightAllowed != null && rightAllowed == false}">
			<s:set var="right" value="0" />
		</s:if>

		<table width="100%" border="0" cellspacing="0" cellpadding="0">
  			<tr>
    			<td valign="top">
					<%@ include file="/panels/front-header.jsp" %>
				</td>
			</tr>
			<tr>
				<td valign="top">
					<div style="margin:11px 20px 17px 20px">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
	       						<td width="223" valign="top">
        							<%@ include file="/panels/help-left.jsp" %>
        						</td>
  								<td valign="top">
									<div style="margin:0px 17px 0px 17px">
	  									<decorator:body />
 									</div>
  								</td>
  								<td width="211" valign="top">
									<div style="margin:0px 0px 0px 0px">
										<%@ include file="/panels/front-right.jsp" %>
									</div>
								</td>
							</tr>
  						</table>
  					</div>
  				</td>
  			</tr>
  			<tr>
  				<td>
  					<%@ include file="/panels/front-footer.jsp" %>
  				</td>
  			</tr>
  		</table>
	</body>
</html>